package com.tender.controller;

import com.tender.facade.ProviderFacade;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RestController;

// @RestController("providerServer")
@RestController()
public class FeignProviderFacadeImpl implements ProviderFacade {

    @Value("${server.port}")
    private String port;

    public String provideData() {
        return "data from provider, port = " + port;
    }

}
